package org.linlinjava.litemall.db.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.linlinjava.litemall.db.dao.ReceiptMapper;
import org.springframework.stereotype.Service;

@Service
public class ReceiptService {
    @Resource
    private ReceiptMapper receiptMapper;

    public List<Map> getReceipts(String query,String orderByClause) {
        return receiptMapper.selectReceipts(query, orderByClause);
    }
    
}
